package Engine.AIUGame
{
	public class AIMapBlock extends AISprite
	{
		public function AIMapBlock(X:Number=0, Y:Number=0, Width:Number=80, Height:Number=20)
		{
			super(X, Y, Width, Height);
			active = false;
			immovable = true;
			
			allowCollisions = CEILING;
			
			makeGraphic(width,height,0xff7f0000);
			
		}
		
		
		override protected function resetObjData():void
		{
			super.resetObjData();
			//origin.x = 0;
			//origin.y = 0;
		}
		
		
		public function setAnyCollisions():void
		{
			allowCollisions = ANY;
		}
		
		public function setUpallowCollisions():void
		{
			allowCollisions = CEILING;
		}
		
	}
}